<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>新闻列表</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        li {
            list-style: none;
        }

        .new {
            width: 500px;
            height: 400px;
            border: 1px solid #ccc;
            margin: 100px auto;
            /* 上 40  左和右  28  下 不要 */
            padding: 40px 28px 0;
        }

        .new h3 {
            height: 40px;
            border-bottom: 1px solid #ccc;
        }

        .new ul li {
            height: 50px;
            line-height: 50px;
            border-bottom: 1px dashed #ccc;
            padding-left: 30px;
        }

        .new ul li a {
            color: #333;
            text-decoration: none;
        }

        .new ul li a:hover {
            text-decoration: underline;
        }
    </style>
</head>
<body>
<div class="new">
    <h3>最新文章 /NEW xxxx</h3>
    <ul>
        <li><a href="#">体验javascript的魅力</a></li>
        <li><a href="#">体验javascript的魅力</a></li>
        <li><a href="#">体验javascript的魅力</a></li>
        <li><a href="#">体验javascript的魅力</a></li>
        <li><a href="#">体验javascript的魅力</a></li>
        <li><a href="#">体验javascript的魅力</a></li>
    </ul>
</div>
</body>
</html>